package com.ruoyi.equipment.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备管理对象 equipment
 * 
 * @author 王海新
 * @date 2020-07-06
 */
public class Equipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 领用单位 */
    @Excel(name = "领用单位")
    private String lingyong;

    /** 仪器编号 */
    private Long bianhao;

    /** 仪器名称 */
    @Excel(name = "仪器名称")
    private String name;

    /** 分类号 */
    @Excel(name = "分类号")
    private Long fenleihao;

    /** 型号 */
    @Excel(name = "型号")
    private Long xinghao;

    /** 规格 */
    @Excel(name = "规格")
    private Long guige;

    /** 单价 */
    @Excel(name = "单价")
    private Long danjai;

    /** 厂家 */
    @Excel(name = "厂家")
    private String changjia;

    /** 购置日期 */
    @Excel(name = "购置日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gouzhiriqi;

    /** 现状 */
    @Excel(name = "现状")
    private String xianzhunag;

    /** 经费科目 */
    @Excel(name = "经费科目")
    private Long jingfeikemu;

    /** 使用方向 */
    @Excel(name = "使用方向")
    private String shiyongfangxinag;

    /** 设备来源 */
    @Excel(name = "设备来源")
    private String laiyuan;

    /** 领用人 */
    @Excel(name = "领用人")
    private String lingyongren;

    /** 经手人 */
    @Excel(name = "经手人")
    private String jingshouren;

    /** 记帐人 */
    @Excel(name = "记帐人")
    private String jizhangren;

    /** 输入人 */
    @Excel(name = "输入人")
    private String shururen;

    /** 入库时间 */
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rukushijian;

    /** 单据号 */
    @Excel(name = "单据号")
    private Long danjuhao;

    /** 存放地名称 */
    @Excel(name = "存放地名称")
    private String cunfangdi;

    /** 备注 */
    @Excel(name = "备注")
    private String beizhu;

    public void setLingyong(String lingyong) 
    {
        this.lingyong = lingyong;
    }

    public String getLingyong() 
    {
        return lingyong;
    }
    public void setBianhao(Long bianhao) 
    {
        this.bianhao = bianhao;
    }

    public Long getBianhao() 
    {
        return bianhao;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setFenleihao(Long fenleihao) 
    {
        this.fenleihao = fenleihao;
    }

    public Long getFenleihao() 
    {
        return fenleihao;
    }
    public void setXinghao(Long xinghao) 
    {
        this.xinghao = xinghao;
    }

    public Long getXinghao() 
    {
        return xinghao;
    }
    public void setGuige(Long guige) 
    {
        this.guige = guige;
    }

    public Long getGuige() 
    {
        return guige;
    }
    public void setDanjai(Long danjai) 
    {
        this.danjai = danjai;
    }

    public Long getDanjai() 
    {
        return danjai;
    }
    public void setChangjia(String changjia) 
    {
        this.changjia = changjia;
    }

    public String getChangjia() 
    {
        return changjia;
    }
    public void setGouzhiriqi(Date gouzhiriqi) 
    {
        this.gouzhiriqi = gouzhiriqi;
    }

    public Date getGouzhiriqi() 
    {
        return gouzhiriqi;
    }
    public void setXianzhunag(String xianzhunag) 
    {
        this.xianzhunag = xianzhunag;
    }

    public String getXianzhunag() 
    {
        return xianzhunag;
    }
    public void setJingfeikemu(Long jingfeikemu) 
    {
        this.jingfeikemu = jingfeikemu;
    }

    public Long getJingfeikemu() 
    {
        return jingfeikemu;
    }
    public void setShiyongfangxinag(String shiyongfangxinag) 
    {
        this.shiyongfangxinag = shiyongfangxinag;
    }

    public String getShiyongfangxinag() 
    {
        return shiyongfangxinag;
    }
    public void setLaiyuan(String laiyuan) 
    {
        this.laiyuan = laiyuan;
    }

    public String getLaiyuan() 
    {
        return laiyuan;
    }
    public void setLingyongren(String lingyongren) 
    {
        this.lingyongren = lingyongren;
    }

    public String getLingyongren() 
    {
        return lingyongren;
    }
    public void setJingshouren(String jingshouren) 
    {
        this.jingshouren = jingshouren;
    }

    public String getJingshouren() 
    {
        return jingshouren;
    }
    public void setJizhangren(String jizhangren) 
    {
        this.jizhangren = jizhangren;
    }

    public String getJizhangren() 
    {
        return jizhangren;
    }
    public void setShururen(String shururen) 
    {
        this.shururen = shururen;
    }

    public String getShururen() 
    {
        return shururen;
    }
    public void setRukushijian(Date rukushijian) 
    {
        this.rukushijian = rukushijian;
    }

    public Date getRukushijian() 
    {
        return rukushijian;
    }
    public void setDanjuhao(Long danjuhao) 
    {
        this.danjuhao = danjuhao;
    }

    public Long getDanjuhao() 
    {
        return danjuhao;
    }
    public void setCunfangdi(String cunfangdi) 
    {
        this.cunfangdi = cunfangdi;
    }

    public String getCunfangdi() 
    {
        return cunfangdi;
    }
    public void setBeizhu(String beizhu) 
    {
        this.beizhu = beizhu;
    }

    public String getBeizhu() 
    {
        return beizhu;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lingyong", getLingyong())
            .append("bianhao", getBianhao())
            .append("name", getName())
            .append("fenleihao", getFenleihao())
            .append("xinghao", getXinghao())
            .append("guige", getGuige())
            .append("danjai", getDanjai())
            .append("changjia", getChangjia())
            .append("gouzhiriqi", getGouzhiriqi())
            .append("xianzhunag", getXianzhunag())
            .append("jingfeikemu", getJingfeikemu())
            .append("shiyongfangxinag", getShiyongfangxinag())
            .append("laiyuan", getLaiyuan())
            .append("lingyongren", getLingyongren())
            .append("jingshouren", getJingshouren())
            .append("jizhangren", getJizhangren())
            .append("shururen", getShururen())
            .append("rukushijian", getRukushijian())
            .append("danjuhao", getDanjuhao())
            .append("cunfangdi", getCunfangdi())
            .append("beizhu", getBeizhu())
            .toString();
    }
}
